package com.ecjtu.gateway.db.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ecjtu.gateway.db.po.NonLeakagePo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface NonLeakageMapper extends BaseMapper<NonLeakagePo> {

    @Select(" select * from nonleakage where id  > #{max} limit #{limit} ")
    List<NonLeakagePo> queryList(Long max, int limit);
}
